import request from '@/utils/request'

// 查询商品拓展信息列表
export function listgoodsExpand(query) {
  return request({
    url: '/vip/goodsExpand/page',
    method: 'post',
    data: query
  })
}

// 查询商品拓展信息详细
export function getgoodsExpand(id) {
  return request({
    url: '/vip/goodsExpand/' + id,
    method: 'get'
  })
}

// 新增商品拓展信息
export function addgoodsExpand(data) {
  return request({
    url: '/vip/goodsExpand',
    method: 'post',
    data: data
  })
}

// 修改商品拓展信息
export function updategoodsExpand(data) {
  return request({
    url: '/vip/goodsExpand',
    method: 'put',
    data: data
  })
}

// 删除商品拓展信息
export function delgoodsExpand(id) {
  return request({
    url: '/vip/goodsExpand/' + id,
    method: 'delete'
  })
}
